package Object;

public class Cat extends Animal{
    @Override
    public void bark() {
        System.out.println(getName() + "喵喵喵");
    }

    public String getName(){
        return "小猫";
    }
}
